//
//  DDPrepareOrderSet.h
//  Dingdong
//
//  Created by 程强 on 16/12/15.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DDCouponSet.h"

@class DDPrepareOrderStore;
@class DDPrepareOrderObj;
@class DDPrepareOrderGoodsObj;
@class DDPrepareOrderShipObj;
@class DDPrepareOrderGift;

@interface DDPrepareOrderSet : NSObject
@property (strong, nonatomic) NSArray <DDPrepareOrderObj *>*storeAry;
@end

@interface DDPrepareOrderObj : NSObject
@property (strong, nonatomic) DDPrepareOrderStore *storeprice;
@property (strong, nonatomic) NSNumber *activity_id;
@property (strong, nonatomic) NSNumber *store_id;
@property (strong, nonatomic) NSNumber *shiptypeid;
@property (copy, nonatomic) NSString *activity_name;
@property (copy, nonatomic) NSString *store_name;
@property (strong, nonatomic) NSMutableArray <DDCouponObj *>*bonusList;/**<优惠券*/
@property (strong, nonatomic) NSArray <DDPrepareOrderGoodsObj *>*goodslist;
@property (strong, nonatomic) NSArray <DDPrepareOrderShipObj *>*shiplist;
@property (strong, nonatomic) NSNumber *hasBonus;
@property (strong, nonatomic) DDCouponObj *couponObj;
@property (strong, nonatomic) DDPrepareOrderGift *giftObj;
@end

@interface DDPrepareOrderStore : NSObject
@property (strong, nonatomic) NSNumber *goodsPrice;
@property (strong, nonatomic) NSNumber *orderPrice;
@property (strong, nonatomic) NSNumber *shippingPrice;
@property (strong, nonatomic) NSNumber *needPayMoney;
@property (strong, nonatomic) NSNumber *discountPrice;
@property (strong, nonatomic) NSNumber *weight;
@property (strong, nonatomic) NSNumber *point;
@property (strong, nonatomic) NSDictionary *discountItem;
@property (strong, nonatomic) NSNumber *actDiscount;
@property (strong, nonatomic) NSNumber *gift_id;
@property (strong, nonatomic) NSNumber *bonus_id;
@property (strong, nonatomic) NSNumber *is_free_ship;
@property (strong, nonatomic) NSNumber *act_free_ship;
@property (strong, nonatomic) NSString *exchange_point;
@property (strong, nonatomic) NSString *activity_point;
@end

@interface DDPrepareOrderGoodsObj : NSObject
@property (strong, nonatomic) NSNumber *product_id;
@property (strong, nonatomic) NSNumber *goods_id;
@property (copy, nonatomic) NSString *name;
@property (strong, nonatomic) NSNumber *mktprice;
@property (strong, nonatomic) NSNumber *price;
@property (strong, nonatomic) NSNumber *coupPrice;
@property (strong, nonatomic) NSNumber *subtotal;
@property (strong, nonatomic) NSNumber *num;
@property (copy, nonatomic) NSString *image_default;
@property (copy, nonatomic) NSString *sn;
@end

@interface DDPrepareOrderShipObj : NSObject
@property (copy, nonatomic) NSString *name;
@property (strong, nonatomic) NSNumber *shipPrice;
@property (strong, nonatomic) NSNumber *type_id;
@end


@interface DDPrepareOrderGift : NSObject
@property (strong, nonatomic) NSNumber *gift_id;
@property (copy, nonatomic) NSString *gift_name;
@property (strong, nonatomic) NSNumber *gift_price;
@property (copy, nonatomic) NSString *gift_img;
@property (strong, nonatomic) NSNumber *create_time;
@property (strong, nonatomic) NSNumber *gift_type;
@property (strong, nonatomic) NSNumber *actual_store;
@property (strong, nonatomic) NSNumber *enable_store;
@property (strong, nonatomic) NSNumber *store_id;
@end
